<?php 
include '../functions.php';
$dsn = "mysql:host=localhost;dbname=c70";
$pdo = new Pdo($dsn,"root" ,"");
$pdo ->query("set names utf8");
$res=$pdo->query("select * from student");
$rows = $res ->fetchAll(PDO::FETCH_ASSOC);
p($rows);




 ?>